Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

citrus simulator UI #177

Merged
merged 5 commits into from
Oct 16, 2023

Conversation

bbortt
Copy link
Collaborator

@bbortt bbortt commented Oct 4, 2023

this is a preview of the new simulator UI. it is not final yet, the following entities and the corresponding REST API cleanup are still missing:

  • Message
  • MessageHeader
  • ScenarioAction
  • ScenarioExecution
  • ScenarioParameter

these changes should however go much faster, since the ground-work has been done.

next, and probably most importantly, the landing page does not life up to its predecessor:

  • landing page with total, succeeded and failed scenarios

however, I did want to open this pull-request nonetheless, so you guys can see in which direction the change is heading. it's a combination of existing pull-requests (in merge-order): #171, #173.

and I think I must still add the copyright header to each of these files. can you please confirm this, @christophd?

closes #165.

@bbortt bbortt added IN PROGRESS Type: Feature TO REVIEW Prio: High State: To discuss In case there are open questions concerning the issue dependencies Pull requests that update a dependency file java Pull requests that update Java code javascript Pull requests that update Javascript code labels Oct 4, 2023
@bbortt bbortt requested a review from christophd October 4, 2023 17:51
@bbortt bbortt self-assigned this Oct 4, 2023
@bbortt
Copy link
Collaborator Author

bbortt commented Oct 11, 2023

it is with great pleasure that I can give this PR into review @christophd. I know it's big and it's probably too much to look at it all! that's why I can give you the following hints and encourage you to try it locally, then "just merge it and see how it goes".

  • all frontend/js code follows prettier and eslint codestyle rules
  • the frontend/js code has a 88.51 % statements-, 69.19 % branch-, 80 % statements- and a total coverage of 88.28 %
  • the frontend/java code is 100 % covered by class, 89% by lines
  • the core/java code is roughly 75 % covered (it's a bit hard to differentiate between new and old code)
    • that requires some more cleanup afterwards, which I will happily submit
  • I have updated all screenshots which I found
  • I have added a frontend build

I will follow up with more right after the merge, but want to stop here first. otherwise this PR gets way to big (or even bigger 😉).

@bbortt
Copy link
Collaborator Author

bbortt commented Oct 11, 2023

which I must check that it runs

turns out it does not. also the name build clashes with the existing build. I will fix and rename it tomorrow.

  • fix frontend build

@bbortt bbortt force-pushed the feature/citrus-simulator-ui branch 2 times, most recently from 178900d to 7f841d0 Compare October 12, 2023 05:31
@bbortt bbortt removed IN PROGRESS State: To discuss In case there are open questions concerning the issue labels Oct 12, 2023
@bbortt bbortt linked an issue Oct 12, 2023 that may be closed by this pull request
added new entity `org.citrusframework.simulator.model.TestResult` with one-to-many mapping
to `org.citrusframework.simulator.model.TestParameter`. the entity shall later replace
the current in-memory implementation of `org.citrusframework.report.TestReports` which is
used in `org.citrusframework.simulator.listener.SimulatorStatusListener`.
updated the `org.citrusframework.simulator.listener.SimulatorStatusListener`
in such a way that it uses the previously
introduced `org.citrusframework.simulator.model.TestResult` entity to
persist test results into the database.
bbortt and others added 3 commits October 16, 2023 17:17
* `toString` methods that do not end up in stackoverflows
* more error prune entities that control their own lifecycle
* transform persistent enums to backward compatible ordinal values
start building the new `simulator-ui` based on a minimal jhipster application.
displaying test results on the landing page mimics the behaviour of the old ui.
@bbortt bbortt force-pushed the feature/citrus-simulator-ui branch from 7f841d0 to 0203d01 Compare October 16, 2023 15:17
@bbortt bbortt merged commit f9f3722 into citrusframework:main Oct 16, 2023
5 checks passed
@bbortt bbortt changed the title Draft: citrus simulator UI citrus simulator UI Oct 16, 2023
@bbortt bbortt deleted the feature/citrus-simulator-ui branch November 6, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code javascript Pull requests that update Javascript code Prio: High TO REVIEW Type: Feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

auditable entities angular 16 upgrade
1 participant